#ifndef _PANDAX_GAMEMAIN_H__
#define _PANDAX_GAMEMAIN_H__
#ifdef __cplusplus
extern "C"
{
#endif
typedef enum _gamestate
{
	PX_GAMESTATE_NONE=0,
	PX_GAMESTATE_LOAD,
	PX_GAMESTATE_INIT,
	PX_GAMESTATE_RUN 
}GameState;

void game_mainloop();
void set_gamestate(GameState s);
GameState get_curgamestate();
GameState get_pregamestate();

#ifdef __cplusplus
}
#endif
#endif // px_gamemain_h__
